public class Population {
    public int individuals;
    public BTree[] population;

    public Population() {
	individuals = 0;
	population = null;
    } 

    public Population(int popsize) {
	individuals = popsize;
	population = new BTree[individuals];
    }

    public BTree[] getPopulation() {
	return population;
    }
    
    public void rampedHalfAndHalf() {
	BTree fullMethodTree = new BTree();
	BTree growMethodTree = new BTree();
	for(int i=0; i<individuals; i+=2)
	    {
		fullMethodTree.initFull(1);
		growMethodTree.initGrow(1);
		population[i] = fullMethodTree;
		population[i+1] = growMethodTree;
	    }
    }
}
